home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
appsrcs.zip
/
APPTASK.ZIP
/
APPTASK.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-15
|
1KB
|
49 lines
/* apptask.h */
#define IDC_LISTBOX 100
#define IDC_BUTTONS 200
#define IDS_OK 300
#define IDS_CANCEL 301
#define IDS_HELP 302
#define IDS_REPLACE 303
#define IDS_ALL 304
#define IDS_DEACT 305
#define IDS_CLOSE 306
#define IDS_DESTROY 307
#define IDS_QUIT 308
char szBuffer[256];
int ShowAll;
int CloseDeAct;
int CloseMode;
int temp;
#define WITHIN(val, min, max) (((temp=val) > max ? max : (temp < min) ? min : temp))
#define ONEORZERO(val) WITHIN(val, 0, 1)
extern HINSTANCE hInst;
extern HWND hWndAppTask;
/* defined in AppTask.c */
extern int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow);
extern long WINAPI WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
extern void UpdateListBox(HWND hWndListBox);
/* defined in AppTools.c*/
extern VOID OkMsgBox(char *szCaption, char *szFormat, ...);
/* defined in setup.c */
extern BOOL WINAPI SetupDlgProc(HWND, UINT, WPARAM, LPARAM);
/* defined in AppClose.c */
extern long WINAPI WaitForWMCloseWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
extern VOID PASCAL WaitForWMClose(HWND hWndClose);
extern BOOL PASCAL CloseApp(HWND hWndClose);
/* Undocumented Windows function in taskman.exe (PCM/FEB92) */
extern BOOL WINAPI IsWinOldApTask(HTASK);
#define IsDosWindow(hWnd) IsWinOldApTask(GetWindowTask(hWnd))